feat: add dual progress bars, file list UI, sound alerts, taskbar fla…#9
Open
bazq3D wants to merge 3 commits into
Open
feat: add dual progress bars, file list UI, sound alerts, taskbar fla…#9bazq3D wants to merge 3 commits into
bazq3D wants to merge 3 commits into
Conversation
bazq3D
commented
Jun 16, 2026
…shing, and path auto-detection
- Moved asset extraction to a background thread using Task.Run to prevent UI freezing.
- Added a 2-column layout to MainWindow: left side contains settings/actions, and right side displays a dynamic Selected Files ListBox.
- Added "Remove" and "Clear All" buttons to manage the file queue dynamically.
- Implemented a dual progress bar system in the footer:
- PbOverall: tracks progress of multiple YMAPs/files currently processing.
- PbItems: tracks asset/entity extraction progress within the active file.
- Added sound notification (SystemSoundType.Question) upon successful extraction completion.
- Implemented user32.dll FlashWindow integration to flash the application's taskbar icon when the background task finishes.
- Automatically clears queues and resets progress bars upon completion.
- Improved GTA V path auto-detection on startup by parsing Steam's 'libraryfolders.vdf' to support custom drive libraries, Rockstar registry, and Epic manifests.
- Added input trimming to clean path names and fixed case-sensitivity issues during file picking (e.g., .YMAP / .YTYP capitalization).
…shing, and path auto-detection - Moved asset extraction to a background thread using Task.Run to prevent UI freezing. - Added a 2-column layout to MainWindow: left side contains settings/actions, and right side displays a dynamic Selected Files ListBox. - Added "Remove" and "Clear All" buttons to manage the file queue dynamically. - Implemented a dual progress bar system in the footer: - PbOverall: tracks progress of multiple YMAPs/files currently processing. - PbItems: tracks asset/entity extraction progress within the active file. - Added sound notification (SystemSoundType.Question) upon successful extraction completion. - Implemented user32.dll FlashWindow integration to flash the application's taskbar icon when the background task finishes. - Automatically clears queues and resets progress bars upon completion. - Improved GTA V path auto-detection on startup by parsing Steam's 'libraryfolders.vdf' to support custom drive libraries, Rockstar registry, and Epic manifests. - Added input trimming to clean path names and fixed case-sensitivity issues during file picking (e.g., .YMAP / .YTYP capitalization).
This commit fixes various compiler, MSBuild, and code analyzer warnings. It also adds robust error handling and null-safety to prevent the application from crashing when loading empty or invalid YMAP/YTYP files. - Initialized _gameFileCache to null! to prevent CS8618 warning - Marked TryResolve as returning Texture? to fix nullability warnings - Replaced value type null check with Hash != 0 to fix CS0472 - Added null safety guards in GetEntityHashesFromFile for AllEntities, entitySets, and entities - Wrapped file pickers/loading block in try-catch to prevent unhandled exception crashes - Observed exceptions in empty catch blocks with Debug.WriteLine - Removed IncludeAssets from Costura.Fody PackageReference - Moved project files to repository root
This commit adds detailed console trace logs during YMAP/YTYP file loading and entity processing, helping debug cases where some YMAPs are not fully exported. It also updates the project reference in TexturesTesting.sln to match the repository root and optimizes GetYdr/GetYdd/GetYft lookups.
Author
|
Added a commit fixes various compiler, MSBuild, and code analyzer warnings. It also adds robust error handling and null-safety to prevent the application from crashing when loading empty or invalid YMAP/YTYP files.
and detailed console trace logs during YMAP/YTYP file loading and entity processing, helping debug cases where some YMAPs are not fully exported. It also updates the project reference in TexturesTesting.sln to match the repository root and optimizes GetYdr/GetYdd/GetYft lookups. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.